package com.zmzncs.lmtc.module.order.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zmzncs.lmtc.module.order.pojo.order_trade_record.PayBehalfForm;
import com.zmzncs.lmtc.module.order.pojo.order_trade_record.OrderTradeRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zmzncs.lmtc.module.order.pojo.order_trade_record.OrderTradeRecordDTO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 订单-订单交易记录 服务类
 * </p>
 *
 * @author 任建波
 * @since 2020-09-24
 */
public interface OrderTradeRecordService extends IService<OrderTradeRecord> {

    /**分页查询用户余额订单记录*/
    IPage<OrderTradeRecordDTO> getOrderTradeRecordRecharge(Page page);
    /**分页查询垫付未支付订单记录*/
    IPage<OrderTradeRecordDTO> getOrderTradeRecordBehalfPay(Page page);

    /**支付垫付停车费*/
    Map<String, Object> behalfPay(PayBehalfForm form);
    /**微信支付回调-垫付*/
    String behalfPayCallback(String callbackStr);

    /**欠费订单*/
    List<OrderTradeRecordDTO> getArrearsOrder();

}
